.api-history-timeline {
  overflow-y: auto;
  height: calc(100vh - 75px);
  padding-left: 8px;

  &__timeline-badge-container {
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    &__icon {
      --gv-icon--c: white;
      --gv-icon--s: 14px;
    }
  }

  &__timeline-small-icon {
    --gv-icon--s: 14px;
  }
}

.api-history-timeline .timeline li timeline-badge {
  z-index: 0 !important;
}

.api-history-timeline .timeline li timeline-panel {
  padding: 7px !important;
}

.api-history-timeline .timeline li timeline-panel:before {
  top: 25px !important;
}

.api-history-timeline .timeline li timeline-panel:after {
  top: 26px !important;
}

.api-history-timeline .timeline timeline-panel.active {
  background-color: #ededed;
}

.api-history-timeline .timeline timeline-panel.active:after {
  border-right: none;
}

.api-history-timeline .timeline .timeline-link {
  color: #333;
}

.api-history-timeline .timeline:before {
  position: absolute;
  width: 1px;
  left: 6%;
}

.api-history-timeline .timeline li timeline-badge {
  box-shadow: none;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 1em;
  left: 13%;
  top: 29px;
}

.api-history-timeline .timeline li.timeline-inverted timeline-panel {
  float: left;
  left: 18%;
}

.api-history-timeline ul.timeline li timeline-panel {
  width: 80%;
}

pre.api-history-definition {
  background-color: transparent !important;
  border: none !important;
  max-height: calc(100vh - 170px);
}

.api-history-icon {
  --gv-icon--s: 24px;
  --gv-icon-opacit--c: #383e3f;
  --gv-icon--c: var(--gv-theme-color-darker);
}

.api-event-content_actions {
  border: 1px solid #e7eaec;
  border-bottom: 0;
  padding: 0.4rem;
  display: flex;
  justify-content: space-between;
}

.api-event-content_actions-right {
  display: flex;
}

.api-event-content_content {
  background-color: #fff;
  border: 1px solid #e7eaec;
  padding: 0 0.5rem;
}

.api-event_policy-studio {
  --gv-policy-studio--h: calc(100vh - 150px);
  overflow: hidden;
  margin: 0;
}

.api-history-timeline_heading-title {
  display: flex;
  align-items: center;
}

.api-history-timeline_heading-title h5 {
  flex: 1;
}

.api-events_copy-btn {
  cursor: copy;
}

.clipboard__popover {
  --gv-popover--bgc: var(--gv-theme-color-darker, #383e3f);
  --gv-popover--c: var(--gv-theme-font-color-light, #ffffff);
  --gv-popover--p: 0rem 0.4rem 0rem 0.2rem;
  font-size: 11px;
}

.clipboard__popover-content {
  display: flex;
  justify-content: center;
  align-items: center;
  --gv-icon--c: var(--gv-theme-color-success-dark, #388e3c);
  --gv-icon--s: 24px;
}

.api-event_diff-count {
  display: flex;
  justify-content: center;
  align-items: end;
  margin: 0.5rem;
}
.api-event_diff-count > * {
  margin: 0.2rem;
  font-weight: bold;
}

.api-event_diff-added {
  color: green;
}

.api-event_diff-removed {
  color: red;
}
